<template>
  <div class="allifo">
    <h1 style="color:black">欢迎，{{studentName}}</h1>
    <Student></Student>
    <School></School>
  </div>
</template>

<script>
  import b from "./components/Student.vue"
  import c from "./components/School.vue"
  export default {
    name:"App",
    data(){
      return {
        msg2:'这是一条父组件上的数据',
        studentName:'suliang',
        address_school:''
      }
    },
    components:{
      Student:b,
      School:c
    },
    methods:{
        
    },
    mounted(){
    
    },
  }
</script>

<style>
  .allifo{
    color:white;
  }
</style>